package com.yh.csx.crm.dao;

import com.yh.csx.crm.po.ReportCreditWarning;
import com.yh.csx.crm.qo.ReportCreditWarningQo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ReportCreditWarningMapper {
    int deleteByPrimaryKey(String custId);

    int insert(ReportCreditWarning record);

    int insertSelective(ReportCreditWarning record);

    ReportCreditWarning selectByPrimaryKey(String custId);

    int updateByPrimaryKeySelective(ReportCreditWarning record);

    int updateByPrimaryKey(ReportCreditWarning record);
	
	List<ReportCreditWarning> selectList(@Param("target") ReportCreditWarningQo target);

    int batchUpdateCreditWarning(@Param("warningList") List<ReportCreditWarning> warningList);

    int clearInvalidData();
}